package com.wcs.exam.common.excel;

import com.alibaba.excel.annotation.ExcelProperty;
import lombok.Data;

import java.io.Serial;
import java.io.Serializable;

/**
 * 试题信息上传Excel解析
 *
 * @author wcs
 */
@Data
public class QuestionUploadExcel implements Serializable {

    @Serial
    private static final long serialVersionUID = -7314984342344860548L;

    /**
     * 题目类型(1:单选题、2:多选题、3:判断题、4:填空题、5:简答题)
     */
    @ExcelProperty(index = 0)
    private String questionType;

    /**
     * 试题题目
     */
    @ExcelProperty(index = 1)
    private String questionTitle;

    /**
     * 选项A
     */
    @ExcelProperty(index = 2)
    private String optionA;

    /**
     * 选项B
     */
    @ExcelProperty(index = 3)
    private String optionB;

    /**
     * 选项C
     */
    @ExcelProperty(index = 4)
    private String optionC;

    /**
     * 选线D
     */
    @ExcelProperty(index = 5)
    private String optionD;

    /**
     * 选线E
     */
    @ExcelProperty(index = 6)
    private String optionE;

    /**
     * 选线F
     */
    @ExcelProperty(index = 7)
    private String optionF;

    /**
     * 选线G
     */
    @ExcelProperty(index = 8)
    private String optionG;

    /**
     * 选线H
     */
    @ExcelProperty(index = 9)
    private String optionH;

    /**
     * 正确答案
     */
    @ExcelProperty(index = 10)
    private String answer;

    /**
     * 难易程度
     */
    @ExcelProperty(index = 11)
    private String difficultyLevel;

    /**
     * 试题解答
     */
    @ExcelProperty(index = 12)
    private String questionAnalysis;

}
